Version

GetProperties(ITypeDescriptorContext,Object,Attribute[]) Method

Returns a collection of properties for the type of array specified by the value parameter, using the specified context and attributes.
Syntax
'Declaration
 
Public Overloads Overrides Function GetProperties( _
   ByVal context As ITypeDescriptorContext, _
   ByVal value As Object, _
   ByVal attributes() As Attribute _
) As PropertyDescriptorCollection
public override PropertyDescriptorCollection GetProperties( 
   ITypeDescriptorContext context,
   object value,
   Attribute[] attributes
)

Parameters

context
An System.ComponentModel.ITypeDescriptorContext that provides a format context.
value
An System.Object that specifies the type of array for which to get properties.
attributes
An array of type System.Attribute that is used as a filter.

Return Value

A System.ComponentModel.PropertyDescriptorCollection with the properties that are exposed for this data type, or null if there are no properties.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also